package com.authManager.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <p>
 * 【菜单信息】实体类
 * </p>
 *
 * @author 小旋风
 * @since 2018-8-17
 */
@TableName("sys_menu")
@ApiModel(description="菜单信息")
public class SysMenu  implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键")
    @TableId(value="sys_menu_id", type= IdType.AUTO)
    private Long sysMenuId;
	/**
	 * 资源名称
	 */
	@ApiModelProperty(value = "资源名称")
    @TableField(value="name")
    private String name;
	/**
	 * menu_type等于0   的唯一 code    
	 */
	@ApiModelProperty(value = "menu_type等于0   的唯一 code    ")
    @TableField(value="system_code")
    private String systemCode;
	/**
	 * 资源路径
	 */
	@ApiModelProperty(value = "资源路径")
    @TableField(value="page_url")
    private String pageUrl;
	/**
	 * 资源路径 跳转方式
	 */
	@ApiModelProperty(value = "资源路径 跳转方式")
    @TableField(value="page_url_type")
    private String pageUrlType;
	/**
	 * 父级资源id
	 */
	@ApiModelProperty(value = "父级资源id")
    @TableField(value="parent_id")
    private Long parentId;
	/**
	 * 菜单所在位置（left  rigit top）
	 */
	@ApiModelProperty(value = "菜单所在位置（left  rigit top）")
    @TableField(value="site")
    private String site;
	/**
	 * 排序
	 */
	@ApiModelProperty(value = "排序")
    @TableField(value="sort_num")
    private Integer sortNum;
	/**
	 * 资源图标
	 */
	@ApiModelProperty(value = "资源图标")
    @TableField(value="icon")
    private String icon;
	/**
	 * 资源类别 0系统 1菜单 2按钮 
	 */
	@ApiModelProperty(value = "资源类别 0系统 1菜单 2按钮 ")
    @TableField(value="menu_type")
    private Integer menuType;
	/**
	 * 资源介绍
	 */
	@ApiModelProperty(value = "资源介绍")
    @TableField(value="description")
    private String description;
	/**
	 * 按钮标签【查询query  列表查询queryList  增加save 编辑edit 删除 del】
	 */
	@ApiModelProperty(value = "按钮标签【查询query  列表查询queryList  增加save 编辑edit 删除 del】")
    @TableField(value="button_mark")
    private String buttonMark;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
    @TableField(value="field1")
    private String field1;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
    @TableField(value="field2")
    private String field2;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
    @TableField(value="field3")
    private String field3;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
    @TableField(value="creater")
    private String creater;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
    @TableField(value="create_time")
    private Date createTime;
	/**
	 * 修改人
	 */
	@ApiModelProperty(value = "修改人")
    @TableField(value="updater")
    private String updater;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
    @TableField(value="update_time")
    private Date updateTime;
	
	public Long getSysMenuId() {
		return this.sysMenuId;
	}
	
	public SysMenu setSysMenuId(Long sysMenuId) {
		this.sysMenuId = sysMenuId;
		return this;
	}

	public String getName() {
		return this.name;
	}
	
	public SysMenu setName(String name) {
		this.name = name;
		return this;
	}

	public String getSystemCode() {
		return this.systemCode;
	}
	
	public SysMenu setSystemCode(String systemCode) {
		this.systemCode = systemCode;
		return this;
	}

	public String getPageUrl() {
		return this.pageUrl;
	}
	
	public SysMenu setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
		return this;
	}

	public String getPageUrlType() {
		return this.pageUrlType;
	}
	
	public SysMenu setPageUrlType(String pageUrlType) {
		this.pageUrlType = pageUrlType;
		return this;
	}

	public Long getParentId() {
		return this.parentId;
	}
	
	public SysMenu setParentId(Long parentId) {
		this.parentId = parentId;
		return this;
	}

	public String getSite() {
		return this.site;
	}
	
	public SysMenu setSite(String site) {
		this.site = site;
		return this;
	}

	public Integer getSortNum() {
		return this.sortNum;
	}
	
	public SysMenu setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
		return this;
	}

	public String getIcon() {
		return this.icon;
	}
	
	public SysMenu setIcon(String icon) {
		this.icon = icon;
		return this;
	}

	public Integer getMenuType() {
		return this.menuType;
	}
	
	public SysMenu setMenuType(Integer menuType) {
		this.menuType = menuType;
		return this;
	}

	public String getDescription() {
		return this.description;
	}
	
	public SysMenu setDescription(String description) {
		this.description = description;
		return this;
	}

	public String getButtonMark() {
		return this.buttonMark;
	}
	
	public SysMenu setButtonMark(String buttonMark) {
		this.buttonMark = buttonMark;
		return this;
	}

	public String getField1() {
		return this.field1;
	}
	
	public SysMenu setField1(String field1) {
		this.field1 = field1;
		return this;
	}

	public String getField2() {
		return this.field2;
	}
	
	public SysMenu setField2(String field2) {
		this.field2 = field2;
		return this;
	}

	public String getField3() {
		return this.field3;
	}
	
	public SysMenu setField3(String field3) {
		this.field3 = field3;
		return this;
	}

	public String getCreater() {
		return this.creater;
	}
	
	public SysMenu setCreater(String creater) {
		this.creater = creater;
		return this;
	}

	public Date getCreateTime() {
		return this.createTime;
	}
	
	public SysMenu setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}

	public String getUpdater() {
		return this.updater;
	}
	
	public SysMenu setUpdater(String updater) {
		this.updater = updater;
		return this;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}
	
	public SysMenu setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

}